package com.xzy.mapper;

import com.xzy.custom.Page;
import com.xzy.entities.BookType;
import com.xzy.entities.Record;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TODO
 *
 * @author XiangZhongyi
 * ClassName: RecordMapper
 * date: 2022/2/20 12:22
 */
@Repository
public interface RecordMapper {
    void save(@Param("log") Record log);

    Integer findRecordCount(@Param("page") Page page,@Param("name") String name);

    List<Record> findAllRecord(@Param("page") Page page,@Param("name") String name);
}
